package com.aoxun.android.commons;

/**
 * Created by Onelong on 2017/11/20.
 */

public interface IMessageHandler<T> {
    void sendMessage(T msg);
    void post(Runnable r);
    void postAtTime(Runnable r, long time);
    void postDelayed(Runnable r, long time);
    void sendEmptyMessage(int what);
    //void sendMessage(Message),
    void sendMessageAtTime(T msg, long time);
    void sendMessageDelayed(T msg, long time);
    void handleMessage(T msg);
    void destory();
}
